package ele_handler

func init() {
	registerInitFunc(
		func() YuqueElementHandler {
			h := &emHandler{}
			h.elements = []string{"em"}
			return h
		})
}

type emHandler struct {
	BaseHandler
}

func (e *emHandler) preHandle() (err error) {
	e.WriteTextContext(" _")
	return
}

func (e *emHandler) postHandle() (err error) {
	e.WriteTextContext("_ ")
	return
}
